<?php
switch ($strAction) {
	case 'index':
		if(isset($_SESSION['PRODUCT_POST'])) unset($_SESSION['PRODUCT_POST']);
		if(isset($_SESSION['PRODUCT_ERROR'])) unset($_SESSION['PRODUCT_ERROR']);
		$arrCSS = array(
						HOST_SCOMMON . 'css/themes/base/ui.all.css'
				);
		$arrJS  = array	(	
						HOST_SCOMMON . 'js/library/ui/ui.datepicker.js',
						HOST_STATICS . 'backend/js/product/index.js'
				);
		break;
	case 'add':
		$arrJS  = array	(	
						HOST_STATICS . 'backend/js/ckeditor/ckeditor.js',
						HOST_STATICS . 'backend/js/ckeditor/adapters/jquery.js',
						HOST_STATICS . 'backend/js/product/add.js'
					);
		break;
	case 'edit':
		$arrJS  = array	(	
						HOST_STATICS . 'backend/js/ckeditor/ckeditor.js',
						HOST_STATICS . 'backend/js/ckeditor/adapters/jquery.js',
						HOST_STATICS . 'backend/js/product/edit.js'
				);
		break;
	case 'manufactory':
		$arrCSS = array(
						HOST_STATICS . 'css/themes/base/ui.all.css'
				);
		$arrJS  = array	(	
						HOST_STATICS . 'js/library/ui/ui.datepicker.js',
						
						HOST_STATICS . 'backend/js/product/manu.js'
				);
		break;
	case 'manufactorya';
		$arrJS  = array	(	
						
						HOST_STATICS . 'backend/js/product/manu-add.js'
				);
		break;
	case 'manufactorye';
		$arrJS  = array	(	
						
						HOST_STATICS . 'backend/js/product/manu-edit.js'
				);
		break;
	case 'origin':
		$arrCSS = array(
						HOST_STATICS . 'css/themes/base/ui.all.css'
				);
		$arrJS  = array	(	
						HOST_STATICS . 'js/library/ui/ui.datepicker.js',
						
						HOST_STATICS . 'backend/js/product/orig.js'
				);
		break;
	default:
		break;
}
?>